home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / liboctave / oct-math.h < prev    next >
C/C++ Source or Header  |  1996-11-03  |  1KB  |  68 lines

  1. /*
  2.  
  3. Copyright (C) 1996 John W. Eaton
  4.  
  5. This file is part of Octave.
  6.  
  7. Octave is free software; you can redistribute it and/or modify it
  8. under the terms of the GNU General Public License as published by the
  9. Free Software Foundation; either version 2, or (at your option) any
  10. later version.
  11.  
  12. Octave is distributed in the hope that it will be useful, but WITHOUT
  13. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  14. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  15. for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with Octave; see the file COPYING.  If not, write to the Free
  19. Software Foundation, 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20.  
  21. */
  22.  
  23. #if !defined (octave_oct_math_h)
  24. #define octave_oct_math_h 1
  25.  
  26. #include <cmath>
  27.  
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31.  
  32. // Provide declarations for these whether they are actually missing or
  33. // not, because they are not part of the standard math.h, and the
  34. // g++/libg++ installation no longer provides declarations for them.
  35.  
  36. #ifndef HAVE_ACOSH
  37. extern double acosh (double);
  38. #endif
  39.  
  40. #ifndef HAVE_ASINH
  41. extern double asinh (double);
  42. #endif
  43.  
  44. #ifndef HAVE_ATANH
  45. extern double atanh (double);
  46. #endif
  47.  
  48. #ifndef HAVE_ERF
  49. extern double erf (double);
  50. #endif
  51.  
  52. #ifndef HAVE_ERFC
  53. extern double erfc (double);
  54. #endif
  55.  
  56. #ifdef __cplusplus
  57. }
  58. #endif
  59.  
  60. #endif
  61.  
  62. /*
  63. ;;; Local Variables: ***
  64. ;;; mode: C ***
  65. ;;; page-delimiter: "^/\\*" ***
  66. ;;; End: ***
  67. */
  68.